import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { NestExpressApplication } from "@nestjs/platform-express"
import { join } from 'path'
async function bootstrap() {
  const app = await NestFactory.create<NestExpressApplication>(AppModule);
  app.useStaticAssets(join(__dirname,'..','static'));
  await app.listen(3000,()=>{
    console.log("socket-demo: ","http://localhost:3000/");
    
  });
}
bootstrap();
